<template>
  <el-container>
    <el-header>
        <div>
            <img src="../../assets/Snipaste_2020-10-30_21-01-42.jpg" alt="">
            <span>电商管理系统</span>
        </div>
        <el-button type="info">退出</el-button>
    </el-header>
    <el-container>
      <el-aside width="200px">Aside</el-aside>
      <el-main>Main</el-main>
    </el-container>
  </el-container>
</template>
<style lang="less" scoped>
.el-container{
    height: 100%;
}
.el-header{
    background-color:#2b4b5b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    font-size: 14px;
    img{
        width: 30px;
        height: 30px;
        border: 0;
         vertical-align: middle
    }
    span{
        margin-left: 20px;
        
    }
}
.el-aside{
    background-color:#2b3b4b;
}

.el-main{
    background-color: #eee;
}

</style>